Director Article

Tweening FX with the Chrome Library Set of 3D Behaviors for Shockwave 3D


Table of Contents

  1. Introduction
  2. The Scene Fade Behavior with the goldfish_hq.w3d File
  3. The Light Color Tweening Behavior with the suv_ford_hq.W3D File
  4. The Emissive Color Tweening Behavior with the tortoise_hq.w3d File
  5. The Fog Tweening Behavior with the tyrannosaurus_rex_hq.w3d File

The Emissive Color Tweening Behavior with the tortoise_hq.w3d File

Now, you will apply a visual effect to the tortoise model by changing its emissive color overtime.

  1. Create a new movie.
  2. Import the tortoise_hq.w3d file to the internal cast.
  3. Drag and drop the tortoise sprite from the internal cast to the stage or to the score.

    The tortoise without the Emissive Color Tweening behavior applied to it

    Figure 9. The tortoise without the Emissive Color Tweening behavior applied to it

  4. Set the background to black in the 3D Model tab of the Property Inspector.
  5. Drag and drop the Emissive Color Tweening behavior from the Chrome Lib onto the W3D sprite.

    The Emissive Color Tweening behavior

    Figure 10. The Emissive Color Tweening behavior

    The following Emissive Color Tweening Parameters dialog box appears.

    The Emissive Color Tweening Parameters dialog box

    Figure 11. The Emissive Color Tweening Parameters dialog box

  6. Using the sliders, select a purple start color (255, 128, 255) and a yellow end color (255, 113, 0), as shown in Figure 11 above. Click OK.

    Note: You can also enter the values directly in the Behavior tab of the Property Inspector as shown in Figure 12 below.

    The Property inspector showing start color settings of the Emissive Color Tweening behavior

    Figure 12. The Property inspector showing the start color settings of the Emissive Color Tweening behavior

    Now press Play in the toolbar, select Control > Play, or strike the Enter key on the numeric keypad.

    The movie starts and the tortoise emissive color tweens from purple to yellow.

    Emissive Color Tweening start: purple

    Figure 13. Emissive Color Tweening start: purple

    Emissive Color Tweening end: yellow

    Figure 14. Emissive Color Tweening end: yellow